home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / dev / lang / Python151_Src.lha / Python1.5_Source / Objects / Makefile.in < prev    next >
Makefile  |  1997-07-19  |  2KB  |  100 lines

  1. # NOTE: Makefile.in is converted into Makefile by the configure script
  2. # in the parent directory.  Once configure has run, you can recreate
  3. # the Makefile by running just config.status.
  4.  
  5. # === Variables set by config.stat ===
  6.  
  7. VERSION=    @VERSION@
  8.  
  9. srcdir=        @srcdir@
  10. VPATH=        @srcdir@
  11.  
  12. CC=        @CC@
  13. RANLIB=        @RANLIB@
  14. AR=        @AR@
  15.  
  16. DEFS=        @DEFS@
  17.  
  18.  
  19. # === Other things that are customizable but not by configure ===
  20.  
  21. INCLDIR=    $(srcdir)/../Include
  22. OPT=        @OPT@
  23. CFLAGS=        $(OPT) -I$(INCLDIR) -I.. $(DEFS)
  24.  
  25. MKDEP=        mkdep
  26. SHELL=        /bin/sh
  27.  
  28.  
  29. # === Fixed definitions ===
  30.  
  31. OBJS=        abstract.o \
  32.         classobject.o cobject.o complexobject.o \
  33.         fileobject.o floatobject.o \
  34.         frameobject.o funcobject.o intobject.o listobject.o \
  35.         longobject.o dictobject.o methodobject.o \
  36.         moduleobject.o object.o rangeobject.o \
  37.         sliceobject.o stringobject.o \
  38.         tupleobject.o typeobject.o
  39.  
  40. SRCS=        abstract.c \
  41.         classobject.c cobject.c complexobject.c \
  42.         fileobject.c floatobject.c \
  43.         frameobject.c funcobject.c intobject.c listobject.c \
  44.         longobject.c dictobject.c methodobject.c \
  45.         moduleobject.c object.c rangeobject.c \
  46.         sliceobject.c stringobject.c \
  47.         tupleobject.c typeobject.c
  48.  
  49. LIBRARY=    ../libpython$(VERSION).a
  50.  
  51. # === Rules ===
  52.  
  53. all:        $(OBJS)
  54.  
  55. # This target is used by the master Makefile to add the objects to the library
  56. add2lib:    $(OBJS)
  57.         $(AR) cr $(LIBRARY) $(OBJS)
  58.         touch add2lib
  59.  
  60. clean:
  61.         -rm -f *.o core *~ [@,#]* *.old *.orig *.rej add2lib
  62.  
  63. clobber:    clean
  64.         -rm -f *.a tags TAGS
  65.  
  66. Makefile:    $(srcdir)/Makefile.in ../config.status
  67.         (cd ..; CONFIG_FILES=Objects/Makefile CONFIG_HEADERS= \
  68.         $(SHELL) config.status)
  69.  
  70. depend:
  71.         $(MKDEP) $(CFLAGS) `echo $(OBJS) | tr ' ' '\012' | \
  72.                     sed 's|\(.*\)\.o|$(srcdir)/\1.c|'`
  73.  
  74. .PRECIOUS:    Makefile
  75.  
  76. abstract.o: abstract.c
  77. classobject.o: classobject.c
  78. cobject.o: cobject.c
  79. complexobject.o: complexobject.c
  80. fileobject.o: fileobject.c
  81. floatobject.o: floatobject.c
  82. frameobject.o: frameobject.c
  83. funcobject.o: funcobject.c
  84. intobject.o: intobject.c
  85. listobject.o: listobject.c
  86. longobject.o: longobject.c
  87. dictobject.o: dictobject.c
  88. methodobject.o: methodobject.c
  89. moduleobject.o: moduleobject.c
  90. object.o: object.c
  91. rangeobject.o: rangeobject.c
  92. sliceobject.o: sliceobject.c
  93. stringobject.o: stringobject.c
  94. tupleobject.o: tupleobject.c
  95. typeobject.o: typeobject.c
  96.  
  97. # DO NOT DELETE THIS LINE -- mkdep uses it.
  98. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  99. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  100.